package com.jd.service.impl;


import com.jd.dao.DetailDao;
import com.jd.entity.Detail;
import com.jd.service.DetailService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Created by Administrator on 2017/9/20/020.
 */
@Service
public class DetailServiceImpl implements DetailService {

    @Autowired
    private DetailDao detailDao;

    public List<Detail> findByOid(Integer oid) {
        return detailDao.findByOid(oid);
    }
}
